char c[81],s[81],d[4];
main(i,w,t,a)
{
	gets(c);
	for(w=i=0;a=c[i];i++)
		if(a=='%')
		{
			strncpy(d,c+i,3);
			t=w;
			if(!strcmp(d,"%20"))
				s[w++]=' ';
			if(!strcmp(d,"%21"))
				s[w++]='!';
			if(!strcmp(d,"%24"))
				s[w++]='$';
			if(!strcmp(d,"%25"))
				s[w++]='%';
			if(!strcmp(d,"%28"))
				s[w++]='(';
			if(!strcmp(d,"%29"))
				s[w++]=')';
			if(!strcmp(d,"%2a"))
				s[w++]='*';
			if(t-w)i+=2;
			else s[w++]=a;
		}
		else
			s[w++]=a;
	puts(s);
}
